FROM alpine:latest

MAINTAINER yangyuhang@qq.com

RUN echo "http://mirrors.aliyun.com/alpine/v3.11/main/" > /etc/apk/repositories
RUN echo "http://mirrors.aliyun.com/alpine/v3.11/community/" >> /etc/apk/repositories

RUN apk update && \
    apk add ansible tzdata && \
    cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && \
    echo "Asia/Shanghai" > /etc/timezone && \
    rm -rf /tmp/* /var/cache/apk/*
